package com.zmn.oms.business.impl.third;

import com.zmn.oms.business.interfaces.third.SyncOrderStatusService;
import com.zmn.oms.model.entity.third.SyncOrderStatus;
import com.zmn.oms.persistence.interfaces.third.SyncOrderStatusDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 类描述：
 *
 * @author wangxiaokun
 * @since 2020/7/29 16:14
 */
@Service
public class SyncOrderStatusServiceImpl implements SyncOrderStatusService {

    @Resource
    private SyncOrderStatusDao syncOrderStatusDao;

    @Override
    public List<SyncOrderStatus> listSyncOrder() {
        return syncOrderStatusDao.listSyncOrder();
    }

    @Override
    public void updateSyncOrderStatusByWorkId(SyncOrderStatus syncOrderStatus) {
        syncOrderStatusDao.updateSyncOrderStatusByWorkId(syncOrderStatus);
    }
}
